Syntax Reuse: XSLT as a Metalanguage for Knowledge Representation Languages
نویسنده
چکیده
We present here MXSL, a subset of XSLT re-interpreted as a syntactic metalanguage for RuleML with operational semantics based on XSLT processing. This metalanguage increases the expressivity of RuleML knowledge bases and queries, with syntactic access to the complete XML tree through the XPath Data Model. The metalanguage is developed in an abstract manner, as a paradigm applicable to other KR languages, in XML or in other formats.
منابع مشابه
Using Domain Specific Languages to Capture Design Knowledge for Model-based Systems Engineering
syntax – describes the ―essence‖ of the model; the abstract syntax representation is independent of any particular concrete representation Concrete syntax – describes how a model can be represented concretely. For example, with programming languages the concrete syntax includes punctuation, etc. that is not included in the abstract syntax. A concrete syntax can be either textual or visual. Doma...
متن کاملXParse: A Language for Parsing Text to XML
This paper presents a domain-specific language, XParse, that attempts to combine the power of tools like lex and yacc, which generate efficient parsers from declarative specifications, with the convenience, safety, and usability of textor XML-processing languages such as Perl or XSLT. XParse is a standalone language which provides lex-style regular expression matching and yacc-style LALR(1) par...
متن کاملMeta-generation of syntax-oriented editors
A method for automatic generation of syntax-oriented editors (SOE) for high level programming languages is presented. It is based on a special template definition metalanguage. The SOE functional environment including the operations with source files and internal representation of the programs in form of abstract syntax tree was implemented as an independent modular structure. As a result of ta...
متن کاملRepresentation and Query Languages for Semistructured Data
During the past few years, research into representation of knowledge in a semi-structured format has taken an enormous flight. This document presents an overview of a couple of the most promising approaches in this field, such as XML and RDF. We also investigate the current research into query languages tailored to semi-structured data, by first examining what properties such a language should ...
متن کاملDual Syntax for XML Languages
XML is successful as a machine processable data interchange format, but it is often too verbose for human use. For this reason, many XML languages permit an alternative more legible non-XML syntax. XSLT stylesheets are often used to convert from the XML syntax to the alternative syntax; however, such transformations are not reversible since no general tool exists to automatically parse the alte...
متن کامل